package com.mvc.common;

import java.io.IOException;

import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class ModelAndView {
	
	public ModelAndView(HttpServletRequest request, HttpServletResponse response, String action_target){

		RequestDispatcher ds = request.getRequestDispatcher(action_target);
		try {
			
			ds.forward(request, response);

		} catch (ServletException e) {
		} catch (IOException e) {
		}
		
	}
}
